package Lab02.test07;


public class Person {
    //1属性:人名、年龄、身份证号
    String name;
    int age;
    String id;
    //2.行为：将属性信息作为字符串返回
    String getString() {
        return (name + " " + age + " " + id);
    }
}


